# pip install --upgrade autoflake
# pip install --upgrade isort
# edit .isort.cfg

echo "# run autoflake and isort"
find ./$1 -name '*.py' \
     -not -path "./build/*" \
     -not -path "./third_party/*" \
     -exec autoflake --in-place --remove-all-unused-imports {} \;
isort -rc ./$1
